internal IAzTask CreateRole(string name, string description = null) { var iaz = IAzScope.CreateTask(name); iaz.IsRoleDefinition = 1; iaz.Description = description; iaz.Submit(); return(iaz); }
public IAzTask CreateTask(string name) => _scope != null?_scope.CreateTask(name) : _application.CreateTask(name);