File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
articles/azure-netapp-files Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ The REST API specification for Azure NetApp Files is published through [GitHub](
79
79
5. Send a test call and include the token to validate your access to the REST API:
80
80
81
81
```azurepowershell
82
- $SubId = (Get-AzureRmContext ).Subscription.Id
82
+ $SubId = (Get-AzContext ).Subscription.Id
83
83
Invoke-RestMethod -Method Get -Headers $headers -Uri https://management.azure.com/subscriptions/$SubId/providers/Microsoft.Web/sites?api-version=2019-11-01
84
84
```
85
85
@@ -432,4 +432,4 @@ This section shows sample scripts for PowerShell.
432
432
433
433
## Next steps
434
434
435
- [ See the Azure NetApp Files REST API reference] ( /rest/api/netapp/ )
435
+ [ See the Azure NetApp Files REST API reference] ( /rest/api/netapp/ )
You can’t perform that action at this time.
0 commit comments