Skip to content

Commit 1b0fcbf

Browse files
fix links after the compute PR gets merged (Azure#23636)
1 parent a6fe61c commit 1b0fcbf

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

sdk/compute/Azure.ResourceManager.Compute/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ AvailabilitySet availabilitySet = await availabilitySetContainer.GetAsync(availa
201201
AvailabilitySet updatedAvailabilitySet = await availabilitySet.AddTagAsync("key", "value");
202202
```
203203

204-
For more detailed examples, take a look at [samples](https://github.com/Azure/azure-sdk-for-net/tree/feature/mgmt-track2-compute-2/sdk/compute/Azure.ResourceManager.Compute/samples) we have available.
204+
For more detailed examples, take a look at [samples](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/compute/Azure.ResourceManager.Compute/samples) we have available.
205205

206206
## Troubleshooting
207207

@@ -215,17 +215,16 @@ For more detailed examples, take a look at [samples](https://github.com/Azure/az
215215

216216
### More sample code
217217

218-
- [Managing Disks](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2-compute-2/sdk/compute/Azure.ResourceManager.Compute/samples/Sample1_ManagingDisks.md)
219-
- [Managing Virtual Machines](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2-compute-2/sdk/compute/Azure.ResourceManager.Compute/samples/Sample2_ManagingVirtualMachines.md)
218+
- [Managing Disks](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/compute/Azure.ResourceManager.Compute/samples/Sample1_ManagingDisks.md)
219+
- [Managing Virtual Machines](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/compute/Azure.ResourceManager.Compute/samples/Sample2_ManagingVirtualMachines.md)
220220

221221
### Additional Documentation
222222

223223
For more information on Azure SDK, please refer to [this website](https://azure.github.io/azure-sdk/).
224224

225225
## Contributing
226226

227-
For details on contributing to this repository, see the [contributing
228-
guide](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md).
227+
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md).
229228

230229
This project welcomes contributions and suggestions. Most contributions
231230
require you to agree to a Contributor License Agreement (CLA) declaring

sdk/compute/Azure.ResourceManager.Compute/samples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ description: Samples for the Azure.ResourceManager.Compute client library
1111

1212
# Azure.ResourceManager.Compute Samples
1313

14-
- [Managing Disks](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2-compute-2/sdk/compute/Azure.ResourceManager.Compute/samples/Sample1_ManagingDisks.md)
15-
- [Managing Virtual Machines](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2-compute-2/sdk/compute/Azure.ResourceManager.Compute/samples/Sample2_ManagingVirtualMachines.md)
14+
- [Managing Disks](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/compute/Azure.ResourceManager.Compute/samples/Sample1_ManagingDisks.md)
15+
- [Managing Virtual Machines](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/compute/Azure.ResourceManager.Compute/samples/Sample2_ManagingVirtualMachines.md)

sdk/compute/Azure.ResourceManager.Compute/samples/Sample1_ManagingDisks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
>Note: Before getting started with the samples, go through the [prerequisites](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/resourcemanager/Azure.ResourceManager#prerequisites).
44
55
Namespaces for this example:
6+
67
```C# Snippet:Manage_Disks_Namespaces
78
using System;
89
using System.Threading.Tasks;
@@ -93,4 +94,5 @@ await disk.DeleteAsync();
9394

9495

9596
## Next steps
96-
Take a look at the [Managing Virtual Machines](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2-compute-2/sdk/compute/Azure.ResourceManager.Compute/samples/Sample2_ManagingVirtualMachines.md) samples.
97+
98+
Take a look at the [Managing Virtual Machines](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/compute/Azure.ResourceManager.Compute/samples/Sample2_ManagingVirtualMachines.md) samples.

sdk/compute/Azure.ResourceManager.Compute/samples/Sample2_ManagingVirtualMachines.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
Example: Managing Virtual Machines
1+
# Example: Managing Virtual Machines
2+
23
--------------------------------------
34
For this example, you need the following namespaces:
5+
46
```C# Snippet:Managing_VirtualMachines_Namespaces
57
using System;
68
using System.Threading.Tasks;

0 commit comments

Comments
 (0)