pjordan871 / Azure-104-labs

This is my repository for all my Azure labs
0 stars 0 forks source link

Moving Resources #2

Open pjordan871 opened 1 week ago

pjordan871 commented 1 week ago

Create Resource: To create a resource in Azure you need to:

  1. Search 'Resource Groups' in the Azure Portal
  2. Click on Resource Group and click 'Create resource
  3. Enter name, subscription, and other details about this resource
  4. Click Review + Create
  5. Do this two times so you have 2 resource groups

Create Disk: To Create a Disk you need to

  1. Start by searching 'Disk' in your Azure Portal and selecting Add
  2. For testing purposes use the smallest and cheapest disk Ex: HDD 32GB
  3. Select one of the resource groups
  4. complete details for the disk
  5. Review + Create

Go into Your resource groups and select the group with the disk inside. Select the disk and find the 'Move' tab On the drop-down select 'Move to another resource group' Now select which new group you would to move the disk to Follow through the process Once the move is complete it should now be located in your new resource group

pjordan871 commented 1 week ago

Question: Can you move files into a resource group marked as read-only?

I tested and found that you CAN'T move a resource OUT of a resource group with a 'read-only' lock, but I'm curious to know if you can move a resource IN a resource group with 'read-only' lock?

pjordan871 commented 1 week ago

I did a test by adding a 'read-only' lock to the other resource group. Then, I attempted to move a disk from the resource group with no lock to the resource group with a 'read-only' lock, but it did not allow me to do so.

CONFIRMED: A resource Group with 'Read-Only' cannot have resources moved IN or OUT of it