Azure Classroomnotes 21/Aug/2022

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": []
            }
        ]
    }
}

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers
Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube