Skip to content

Commit 31caffc

Browse files
committed
implementing tf tabs
1 parent 5140246 commit 31caffc

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

articles/azure-netapp-files/azure-netapp-files-quickstart-set-up-account-create-volumes.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ author: b-hchen
55
ms.author: anfdocs
66
ms.service: azure-netapp-files
77
ms.topic: quickstart
8-
ms.date: 04/24/2024
9-
ms.custom: devx-track-azurecli, subject-armqs, mode-ui, devx-track-azurepowershell
8+
ms.date: 01/21/2025
9+
ms.custom: devx-track-azurecli, subject-armqs, mode-ui, devx-track-azurepowershell, devx-track-terraform
1010
#Customer intent: As an IT admin new to Azure NetApp Files, I want to quickly set up Azure NetApp Files and create a volume.
1111
---
1212

@@ -67,9 +67,9 @@ Use the Azure portal, PowerShell, or the Azure CLI to [register for NetApp Resou
6767
6868
# [Terraform](#tab/terraform)
6969
70-
None.
70+
[!INCLUDE [Terraform abstract](~/azure-dev-docs-pr/articles/terraform/includes/abstract.md)]
7171
72-
Use the Azure portal, PowerShell, or the Azure CLI to [register for NetApp Resource Provider](azure-netapp-files-register.md).
72+
Use the Azure portal, Azure PowerShell, or the Azure CLI to [register for NetApp Resource Provider](azure-netapp-files-register.md).
7373
7474
---
7575
@@ -166,9 +166,7 @@ The following code snippet shows how to create a NetApp account in an Azure Reso
166166
167167
# [Terraform](#tab/terraform)
168168
169-
[!INCLUDE [Terraform abstract](~/azure-dev-docs-pr/articles/terraform/includes/abstract.md)]
170-
171-
The following code snippet shows how to create a NetApp account using Terraform. The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-netapp-files). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-netapp-files/TestRecord.md).
169+
The following code snippet shows how to create a NetApp account using [Terraform](/azure/developer/terraform). The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-netapp-files). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-netapp-files/TestRecord.md).
172170
173171
:::code language="terraform" source="~/terraform_samples/quickstart/101-azure-netapp-files/main.tf" range="47-52":::
174172
@@ -248,7 +246,9 @@ The following code snippet shows how to create a capacity pool in an Azure Resou
248246
249247
# [Terraform](#tab/terraform)
250248
251-
abc
249+
The following code snippet shows how to create a NetApp capacity pool using [Terraform](/azure/developer/terraform). The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-netapp-files). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-netapp-files/TestRecord.md).
250+
251+
:::code language="terraform" source="~/terraform_samples/quickstart/101-azure-netapp-files/main.tf" range="54-62":::
252252
253253
---
254254
@@ -401,6 +401,12 @@ The following code snippets show how to set up a VNet and create an Azure NetApp
401401
402402
<!-- Block begins with "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", -->
403403
404+
#[Terraform](#tab/terraform)
405+
406+
The following code snippets show how to set up a VNet and create an Azure NetApp Files volume using [Terraform](/azure/developer/terraform). The sample code for this article is located in the [Azure Terraform GitHub repo](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-netapp-files). You can view the log file containing the [test results from current and previous versions of Terraform](https://github.com/Azure/terraform/tree/master/quickstart/101-azure-netapp-files/TestRecord.md).
407+
408+
:::code language="terraform" source="~/terraform_samples/quickstart/101-azure-netapp-files/main.tf" range="20-45,64-83":::
409+
404410
---
405411
406412
## Clean up resources

0 commit comments

Comments
 (0)