Scopes
  • 15 Jun 2020
  • 4 Minutes to read
  • Dark
    Light
  • PDF

Scopes

  • Dark
    Light
  • PDF

Article Summary

Scopes

Scopes are logical grouping which in turn can have multiple environments and resources underlying. All these can be grouped to represent an organisational hierarchy.

Scope

  1. The user is provided with a default parent scope initially, under which they can create multiple scopes.
  2. A scope can inherit environments from its parent scope.
  3. The scope icon has different colours
    • Red - Represents there are unassigned physical resources in the scope, the number of unassigned resources also shown with that.
    • Orange - Represents there are unassigned logical resources in the scope
    • Green - Represents the resource assignment is complete i.e. all the logical resources have physical resources in all its environment.
  4. The scopes can be added, moved, edited and deleted.
  5. Moving a scope will move all the scopes below it to the new destination.
  6. Deleting a scope will delete all the scopes below it.

Operations

  1. To obtain an overview of the particular scope a summary tab is provided under which user can get details on different metrics in numerical count and pie charts to represent physical and logical resources.

Summary

Creating Environment

In the tree structure of scopes, different environments can be set depending upon the company's use. It may be Dev/Test/Prod or more complex. This structure can be inherited down the tree. The result is each resource is also allocated to an environment.

  1. To create a new environment, click on the Create button provided in the top right corner.
  2. When the user moves into the environment tab, they will be provided with an option called Inherit Environments from Parent Scope under each scope, by enabling it in child scopes user can inherit the newly created environment from parent scopes.

Environment

  1. User can view assigned resources, by clicking on the view icon, add resources to the environment, edit and delete using the four action icons.
  2. When you move into Add Resources, all the unassigned resources under that scope will be listed. You can select them and assign them to the respected environment.
  3. When viewing the resources, an option to remove it from the environment is also available.

Resources

While dealing with dev/test/production scenario there will be multiple similar resources. They are just the dev/test/production versions of each other. In Resource Map we provide a way to indicate that the physical resources are different instances of the same logical resource.

  1. All the mapped and unmapped resources in the scope will be displayed here with the corresponding resource group, type, subscription, environment and logical resource.

  2. By using the Assign button you can assign the physical resource to the specific environment and logical resource.
    Assign

  3. Resources can be remapped to other scopes by clicking on the Remap button.
    Remap

  4. You can unmap the resources from the scope by clicking on the Unmap option.
    Unmap

  5. If any unavailable resources are present, you will be indicated with an icon along with the count of unavailable resources, next to Assign button and a symbolic representation next to the unavailable resource.
    Unavailable

Assigning Resources

Resources can be manually assigned to a scope. The relevant logical resource can also be created and mapped to an environment. By assigning these resources user can get a comparison view of its properties in one place.

  1. To create a logical resource, click on the Create Logical Resource button and go ahead with creation.

  2. After creating the logical resource, the corresponding resource type and the environments under that scope will be generated dynamically.
    Resources

  3. If you click on the add icon under the environment column, the physical resources with the same resource type as a logical resource that is assigned to the selected environment or not assigned to any environment will be displayed as a dropdown.

Add

  1. If the environment doesn't have resources under that resource type then it will display as 'No resources found'.
  2. You can assign the resource to that environment and get back to the resource assignment column and you will be listed with resource added to the environment and the unmapped resources under that scope.

doc

  1. After mapping the resources, the logical resource name becomes clickable.
  2. By clicking on it you will get a comparison view between the mapped resources.

Comparison

  1. These resources might originate from different resource groups and subscriptions but its properties can be viewed in one blade.

User Management

  1. With the help of user management, you can restrict or provide access to the user. Admin and Superuser will have access to the entire resource map section and all the scopes. Custom users can be given access only to particular scopes along with reading and manage permissions.
  2. To provide access or restrict a user initially create a custom role and under the Resource Map section enable the scopes that you permit the user to work on.
  3. After this, the user will not be able to view or access the other scopes.
    User Management
We'd love to hear your thoughts
Please visit our feedback system to suggest new Features or Enhancements. You can also take a look at our Roadmap

Was this article helpful?

What's Next