Exam DP203 Course Tybul: Difference between revisions
Line 31: | Line 31: | ||
=== File shares === | === File shares === | ||
Create file shares. Note this doesn't seem to be allowed in the Sandbox | Create file shares. Note this doesn't seem to be allowed in the Sandbox. | ||
Lift and shift from On-Premise file shares, to file shares in the cloud. | |||
Me: Not sure whether file shares are available to on-premise or only to other Azure services. |
Revision as of 20:49, 22 November 2024
Piotr Tybul YouTube course on DP 203:
https://www.youtube.com/playlist?list=PLuQSde7Xvu7DCRenR1otgxAplTtnzKO9e
03 Storage Account Overview
https://www.youtube.com/watch?v=ClqZ1j_7NY4
Tables
Configured in portal - storage account.
Used by NoSQL. Table is schemaless.
It is disabled by default, and if you try to create a table, it fails with a permissions error.
https://learn.microsoft.com/en-us/azure/storage/tables/assign-azure-role-data-access?tabs=powershell
says: When you create an Azure Storage account, you are not automatically assigned permissions to access data via Microsoft Entra ID. You must explicitly assign yourself an Azure role for Azure Storage. You can assign it at the level of your subscription, resource group, storage account, or table.
Storage Table Data Contributor
Edit: I have created a new account (Sandbox).
In a Storage account, go to Storage Browser - Tables to add a table (you can go to Data Storage - Tables, but there you can't edit the table contents)
Click Add Entity to add a new row to the table. Define columns and datatypes on the fly - it is schemaless so these can be changed, including on the same column in different rows.
Queues
Add a queue. Add a message to the queue. Can set to expire the messages after 7 days. You can "dequeue" the messages.
You can put anything in the messages, such as JSON code.
Create file shares. Note this doesn't seem to be allowed in the Sandbox.
Lift and shift from On-Premise file shares, to file shares in the cloud.
Me: Not sure whether file shares are available to on-premise or only to other Azure services.