JSON
- Its a format to represent data.
- Generally it ends with .json (extension)
- JSON are collection of name value pairs
- Write a JSON which describes your home town
{
"place": "krishnarao palem",
"district": "ntr",
"state": "Andhrapradesh",
"crops": ["mango", "corn", "Gauva", "Mirchi"],
"realestate": {
"agri" : {
"average price": "25 lakhs",
},
"Residential": {
"average price": "10 thousand per sqyard"
}
}
}
Azure RBAC (Role Based Access Control)
- Azure RBAC is a Json with the structure defined by Microsoft.
- The structure for custom role is Refer Here
{
"Name" : "<name-of-role>",
"Id": "<unique-id>",
"IsCustom": true,
"Description": "<describe your role>",
"Actions": [],
"NotActions": [],
"AssignableScopes": []
}
- Sample Role by Microsoft (built in roles)
{
"properties": {
"roleName": "",
"description": "",
"assignableScopes": [
"/subscriptions/20424120-c2c1-4a08-8563-c7f7b6401ed3"
],
"permissions": [
{
"actions": [
"*/read"
],
"notActions": [],
"dataActions": [],
"notDataActions": []
}
]
}
}
Like this:
Like Loading...