Create Pull Request
| Date | Scan | Status | Result |
|---|---|---|---|
| 2026-01-14 00:00 | #250 | in_progress |
Biased
|
| 2026-01-13 00:00 | #246 | completed |
Biased
|
| 2026-01-11 00:00 | #240 | completed |
Biased
|
| 2026-01-10 00:00 | #237 | completed |
Biased
|
| 2026-01-09 00:34 | #234 | completed |
Biased
|
| 2026-01-08 00:53 | #231 | completed |
Biased
|
| 2026-01-06 18:15 | #225 | cancelled |
Clean
|
| 2025-08-17 00:01 | #83 | cancelled |
Clean
|
| 2025-07-13 21:37 | #48 | completed |
Biased
|
| 2025-07-12 23:44 | #41 | cancelled |
Biased
|
---
## Validate the deployment
> [!NOTE]
> The Bicep file generates a unique name for the virtual machine myConsumerVm<b>{uniqueid}</b> resource. Substitute your generated value for **{uniqueid}**.
### Connect to a VM from the internet
Connect to the VM _myConsumerVm{uniqueid}_ from the internet as follows:
1. In the Azure portal search bar, enter _myConsumerVm{uniqueid}_.
2. Select **Connect**. **Connect to virtual machine** opens.
3. Select **Download RDP File**. Azure creates a Remote Desktop Protocol (_.rdp_) file and downloads it to your computer.
4. Open the downloaded .rdp file.
a. If prompted, select **Connect**.
b. Enter the username and password you specified when you created the VM.
> [!NOTE]
> You might need to select **More choices** > **Use a different account**, to specify the credentials you entered when you created the VM.
5. Select **OK**.
6. You might receive a certificate warning during the sign-in process. If you receive a certificate warning, select **Yes** or **Continue**.
7. After the VM desktop appears, minimize it to go back to your local desktop.
### Access the http service privately from the VM
Here's how to connect to the http service from the VM by using the private endpoint.
1. Go to the Remote Desktop of _myConsumerVm{uniqueid}_.
2. Open a browser, and enter the private endpoint address: `http://10.0.0.5/`.
3. The default IIS page appears.
## Clean up resources
When you no longer need the resources that you created with the private link service, delete the resource group. This removes the private link service and all the related resources.
# [CLI](#tab/CLI)
# [PowerShell](#tab/PowerShell)
New-AzResourceGroup -Name exampleRG -Location eastus
New-AzResourceGroupDeployment -ResourceGroupName exampleRG -TemplateFile ./main.bicep -vmAdminUsername "<admin-user>"
# [PowerShell](#tab/PowerShell)