From 8fe07a76aebc5bf2447532798575c83bee78907b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20C=C3=A1rdenas?= Date: Tue, 29 Jun 2021 11:52:06 -0700 Subject: [PATCH] Follow up PR - 5593 Azure.ResourceManager.Core Readme (#22262) * Change the accessbility to virtual for Resource.Id * Changing temporary links to absolute ones. Co-authored-by: YalinLi0312 Co-authored-by: m-nash Co-authored-by: m-nash --- .../Azure.ResourceManager.Core/README.md | 10 +++++----- .../Azure.ResourceManager.Core/samples/README.md | 8 ++++---- .../samples/Sample1_HelloWorld.md | 4 ++-- .../samples/Sample1_HelloWorldAsync.md | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/README.md b/sdk/resourcemanager/Azure.ResourceManager.Core/README.md index e53c85cca7ec3..1120fc2279b7f 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/README.md +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/README.md @@ -23,7 +23,7 @@ Set up a way to authenticate to Azure with Azure Identity. Some options are: - Through the [Azure CLI Login](https://docs.microsoft.com/cli/azure/authenticate-azure-cli). - Via [Visual Studio](https://docs.microsoft.com/dotnet/api/overview/azure/identity-readme?view=azure-dotnet#authenticating-via-visual-studio). -- Setting [Environment Variables]<--(docs/AuthUsingEnvironmentVariables.md)-->. +- Setting [Environment Variables](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/docs/AuthUsingEnvironmentVariables.md). More information and different authentication approaches using Azure Identity can be found in [this document](https://docs.microsoft.com/dotnet/api/overview/azure/identity-readme?view=azure-dotnet). @@ -129,7 +129,7 @@ await foreach (ResourceGroup rg in response) } ``` -For more detailed examples, take a look at [samples]<--(samples/)--> we have available. +For more detailed examples, take a look at [samples](https://github.com/Azure/azure-sdk-for-net/tree/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples) we have available. ## Troubleshooting @@ -141,8 +141,8 @@ For more detailed examples, take a look at [samples]<--(samples/)--> we have ava ## Next steps ### More sample code -- [Managing Resource Groups]<--(samples/ManagingResourceGroups.md)--> -- [Creating a Virtual Network]<--(samples/CreatingAVirtualNetwork.md)--> +- [Managing Resource Groups](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample2_ManagingResourceGroups.md) +- [Creating a Virtual Network](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample3_CreatingAVirtualNetwork.md) - [.NET Management Library Code Samples](https://docs.microsoft.com/samples/browse/?branch=master&languages=csharp&term=managing%20using%20Azure%20.NET%20SDK) ### Additional Documentation @@ -151,7 +151,7 @@ For more information on Azure SDK, please refer to [this website](https://azure. ## Contributing For details on contributing to this repository, see the [contributing -guide]<--(docs/CONTRIBUTING.md)-->. +guide](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/docs/CONTRIBUTING.md). This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/samples/README.md b/sdk/resourcemanager/Azure.ResourceManager.Core/samples/README.md index 419fc16e7a9b0..0aac824ece274 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/samples/README.md +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/samples/README.md @@ -11,7 +11,7 @@ description: Samples for the Azure.ResourceManager.Core client library # Azure.ResourceManager.Core Samples -- [Hello World - Getting a subscription]<--(Sample1_HelloWorld.md)--> -- [Hello World - Getting a subscription async]<--(Sample1_HelloWorldAsync.md)--> -- [Managing Resource Groups]<--(Sample2_ManagingResourceGroups.md)--> -- [Creating a virtual network]<--(Sample3_CreatingAVirtualNetwork.md)--> +- [Hello World - Getting a subscription](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorld.md) +- [Hello World - Getting a subscription async](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorldAsync.md) +- [Managing Resource Groups](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample2_ManagingResourceGroups.md) +- [Creating a virtual network](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample3_CreatingAVirtualNetwork.md) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorld.md b/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorld.md index 9aebe8f938519..4457eb668e9e5 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorld.md +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorld.md @@ -1,6 +1,6 @@ # Example: Getting a subscription ->Note: Before getting started with the samples, make sure to go trough the [prerequisites]<--(./README.md#Prerequisites)-->. +>Note: Before getting started with the samples, make sure to go trough the [prerequisites](https://github.com/Azure/azure-sdk-for-net/tree/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core#prerequisites). The following code shows how to get the default subscription: @@ -26,4 +26,4 @@ ResourceGroupContainer rgContainer = subscription.GetResourceGroups(); ``` ## Next stepts -Take a look at the [Managing Resource Groups]<--(Sample2_ManagingResourceGroups.md)--> samples. +Take a look at the [Managing Resource Groups](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample2_ManagingResourceGroups.md) samples. diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorldAsync.md b/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorldAsync.md index b9a13670f81a2..224f29a3f3b07 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorldAsync.md +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample1_HelloWorldAsync.md @@ -1,6 +1,6 @@ # Example: Getting a subscription ->Note: Before getting started with the samples, go through the [prerequisites]<--(./README.md#Prerequisites)-->. +>Note: Before getting started with the samples, go through the [prerequisites](https://github.com/Azure/azure-sdk-for-net/tree/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core#prerequisites). The following code shows how to get the default subscription: @@ -28,4 +28,4 @@ ResourceGroupContainer rgContainer = subscription.GetResourceGroups(); ``` ## Next stepts -Take a look at the [Managing Resource Groups]<--(Sample2_ManagingResourceGroups.md)--> samples. +Take a look at the [Managing Resource Groups](https://github.com/Azure/azure-sdk-for-net/blob/feature/mgmt-track2/sdk/resourcemanager/Azure.ResourceManager.Core/samples/Sample2_ManagingResourceGroups.md) samples.