Hello Anil Kumar Saripadi
It looks like you're concerned about your Azure Bastion resource being set to "anywhere" and want to ensure that you're not using it before confirming with management and deleting it.
Azure Bastion allows for secure RDP and SSH connectivity to your virtual machines without exposing them to public IP addresses, so it’s generally used to enhance security for accessing resources.
To ensure it's not in use, you might consider checking the following:
- Look for any recent connection attempts. If no connections have been made recently, it may not be in active use.
- Assess Dependency: Review any services or VMs that might depend on Bastion for connectivity.
- Check NSGs to see if Bastion is explicitly allowed access to any VMs; this can indicate it's being used.
- Check if there are any dependencies in the bastion. If there are no dependencies, you can delete it.
Before deleting, it may be wise to confirm with your team if anyone is planning to use that Bastion service in the near future.
Reference document: https://learn.microsoft.com/en-us/cli/azure/network/bastion?view=azure-cli-latest#az_network_bastion_delete
Check the reference thread: https://learn.microsoft.com/en-us/answers/questions/256174/how-to-completly-disable-azure-bastion-and-stop-ge
Hope the above answer helps! Please let us know do you have any further queries. Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.