Skip to content

Commit 3998a20

Browse files
Merge pull request #280910 from nikhilkaul-msft/private-link-agent-service
Update chaos-studio-private-link-agent-service.md
2 parents 84ab3d0 + 0435d40 commit 3998a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/chaos-studio/chaos-studio-private-link-agent-service.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To use private endpoints for agent-based chaos experiments, you need to create a
3939
Currently, this resource can *only be created from the CLI*. See the following example code for how to create this resource type:
4040

4141
```AzCLI
42-
az rest --verbose --skip-authorization-header --header "Authorization=Bearer $accessToken" --uri-parameters api-version=2023-10-27-preview --method PUT --uri "https://centraluseuap.management.azure.com/subscriptions/<subscriptionID>/resourceGroups/<resourceGroupName>/providers/Microsoft.Chaos/privateAccesses/<CSPAResourceName>?api-version=2023-10-27-preview" --body '
42+
az rest --verbose --skip-authorization-header --header "Authorization=Bearer $accessToken" --method PUT --uri "https://centraluseuap.management.azure.com/subscriptions/<subscriptionID>/resourceGroups/<resourceGroupName>/providers/Microsoft.Chaos/privateAccesses/<CSPAResourceName>?api-version=2023-10-27-preview" --body '
4343
4444
{
4545
@@ -111,7 +111,7 @@ Here's an example block for what the `PUT Target` command should look like and t
111111
112112
```AzCLI
113113
114-
az rest --verbose --skip-authorization-header --header "Authorization=Bearer $accessToken" --uri-parameters api-version=2023-10-27-preview --method PUT --uri "https://management.azure.com/subscriptions/<subscriptionID>/resourceGroups/<resourceGroup>/providers/Microsoft.Compute/virtualMachines/<VMSSname>/providers/Microsoft.Chaos/targets/Microsoft-Agent?api-version=2023-10-27-preview " --body ' {
114+
az rest --verbose --skip-authorization-header --header "Authorization=Bearer $accessToken" --method PUT --uri "https://management.azure.com/subscriptions/<subscriptionID>/resourceGroups/<resourceGroup>/providers/Microsoft.Compute/virtualMachines/<VMSSname>/providers/Microsoft.Chaos/targets/Microsoft-Agent?api-version=2023-10-27-preview " --body ' {
115115
"id": "/subscriptions/<subscriptionID>/resourceGroups/<resourceGroupName>/providers/microsoft.compute/virtualmachines/<VMSSName>/providers/Microsoft.Chaos/targets/Microsoft-Agent",
116116
"type": "Microsoft.Chaos/targets",
117117
"name": "Microsoft-Agent",

0 commit comments

Comments
 (0)